package com.example.sys.wx.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.po.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "微信事件信息")
@TableName(value = "sys_wx_event_message")
public class SysWxEventMessage extends BasePo<SysWxEventMessage> {

    @ApiModelProperty(value = "事件类型")
    @TableField(value = "event")
    private String event;

    @ApiModelProperty(value = "事件标识")
    @TableField(value = "event_key")
    private String eventKey;

    @ApiModelProperty(value = "凭证")
    @TableField(value = "ticket")
    private String ticket;

    @ApiModelProperty(value = "发送者id")
    @TableField(value = "form_user")
    private String fromUser;

    @ApiModelProperty(value = "接收者id")
    @TableField(value = "to_user")
    private String toUser;
}
